﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;
using Jok.Server.Infrastructure;

namespace Jok.Server.Main
{
    public class JokServiceClient : DuplexClientBase<IJokService>, IJokService
    {
        public JokServiceClient(InstanceContext callbackInstance) : base(callbackInstance) { }
        public JokServiceClient(InstanceContext callbackInstance, string endpointConfigurationName) : base(callbackInstance, endpointConfigurationName) { }

        public void CommandReceived(int UserId, Guid Ticket, JokCommand Command)
        {
            base.Channel.CommandReceived(UserId, Ticket, Command);
        }
    }

}